package com.m1905.lib.download.util;

import android.util.Log;


/**
 * @author wanghao
 * @date 2023/9/25.
 * @des
 */
public class DLog {

    private static boolean enableLog = false;

    public static void e(String message) {
        if (enableLog) {
            Log.e("TAG", String.format("thread:%-15s    %s", Thread.currentThread().getName(), message));
        }
    }

    public static void setLogEnable(boolean enable) {
        enableLog = enable;
    }
}
